package com.habo.service.impl;

import com.habo.dao.UserMapper;
import com.habo.entity.User;
import com.habo.service.UserService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

/**
 * Created by junbb on 2017/3/24.
 */
@Service
@Transactional
public class UserServiceImpl implements UserService {
    @Resource
    private UserMapper userMapper;

    @Override
    public User findUserById(String U_id) {
        return userMapper.findUserById(U_id);
    }
}
